package com.freesky.biz.activity.service;

import com.alibaba.fastjson2.JSON;
import com.freesky.biz.activity.domain.TAlipayCouponDetail;
import com.freesky.biz.activity.domain.TCouponDetail;
import com.freesky.biz.activity.domain.TStockMonitor;
import com.freesky.common.core.domain.AjaxResult;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 发券情况查询 服务层
 *
 * @author freesky
 */
public interface ICouponDetailService {

    public List<TCouponDetail> findList(TCouponDetail couponDetail);
    public List<TCouponDetail> selectListByBusiId(String busiId);

    public AjaxResult exportFile(TCouponDetail couponDetail);

    public AjaxResult grantCoupon(TCouponDetail couponDetail);

    public AjaxResult grantAlipayCoupon(TAlipayCouponDetail couponDetail);

    public List<TCouponDetail> findAlipayList(TCouponDetail entity);
    public List<TCouponDetail> selectAlipayListByBusiId(String busiId);
}
